Support un-fused batchnorm1d/2d on XNNPACK via decomposition#16533
Merged
GregoryComer merged 4 commits intopytorch:mainfrom Jan 21, 2026
Merged
Support un-fused batchnorm1d/2d on XNNPACK via decomposition#16533GregoryComer merged 4 commits intopytorch:mainfrom
GregoryComer merged 4 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16533
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit e81cddd with merge base 4f8dbde ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Contributor
|
@GregoryComer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90422630. |
GregoryComer
commented
Jan 10, 2026
GregoryComer
commented
Jan 10, 2026
GregoryComer
commented
Jan 10, 2026
ddd4c1e to
1aa7400
Compare
GregoryComer
added a commit
to GregoryComer/executorch
that referenced
this pull request
Jan 11, 2026
…#16533) Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused. Differential Revision: D90422630
Member
Author
|
Updated to add test coverage around dtype, affine=False, memory_format/dim_order, and more comprehensive checks on the conv node created by the pass. Will re-open and request review once CI finshes. |
mergennachin
approved these changes
Jan 20, 2026
…#16533) Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused. Differential Revision: D90422630
ab84366 to
9325d08
Compare
Contributor
|
@GregoryComer has imported this pull request. If you are a Meta employee, you can view this in D90422630. |
Member
Author
|
Test failure is on a core ml test, so it appears to be a flake. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary: Add a new pass - DecomposeBatchNorm - which converts standalone (non-fused) batch norm operators to 1x1 depthwise convolution. This prevents delegation graph breaks when batch norm operators can't be fused.
Differential Revision: D90422630
cc @digantdesai @cbilgin